home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / daemons / cron / RCS / cron.man,v < prev   
Encoding:
Text File  |  1989-12-14  |  2.3 KB  |  150 lines

  1. head     1.2;
  2. branch   ;
  3. access   ;
  4. symbols  ;
  5. locks    ; strict;
  6. comment  @@;
  7.  
  8.  
  9. 1.2
  10. date     89.12.14.15.44.19;  author douglis;  state Exp;
  11. branches ;
  12. next     1.1;
  13.  
  14. 1.1
  15. date     89.12.14.15.42.10;  author douglis;  state Exp;
  16. branches ;
  17. next     ;
  18.  
  19.  
  20. desc
  21. @man page for cron
  22. @
  23.  
  24.  
  25. 1.2
  26. log
  27. @updated to sprite names
  28. @
  29. text
  30. @.\"    @@(#)cron.8    6.5 (Berkeley) 5/16/86
  31. .\"
  32. .TH CRON 8 "May 16, 1986"
  33. .AT 3
  34. .SH NAME
  35. cron \- clock daemon
  36. .SH SYNOPSIS
  37. .B /sprite/daemons/cron
  38. .SH DESCRIPTION
  39. .I Cron
  40. executes commands at specified dates and times
  41. according to the instructions in the files
  42. /sprite/lib/crontab and /hosts/<host>/crontab.
  43. None, either one, or both of these files may be present.
  44. Since
  45. .I cron
  46. never exits,
  47. it should only be executed once.
  48. This is best done by running
  49. .I cron
  50. from the initialization
  51. process through the file
  52. /boot/bootcmds;
  53. see
  54. .IR bootcmds (admin).
  55. .PP
  56. The
  57. crontab files
  58. consist of lines of seven fields each.
  59. The fields are separated by spaces or tabs.
  60. The first five are integer patterns to specify:
  61. .in +2m
  62. .TP 2m
  63. \(bu
  64. minute (0-59)
  65. .nr .0 \n()Pu
  66. .nr )P 0
  67. .TP 2m
  68. \(bu
  69. hour (0-23)
  70. .TP 2m
  71. \(bu
  72. day of the month (1-31)
  73. .TP 2m
  74. \(bu
  75. month of the year (1-12)
  76. .TP 2m
  77. \(bu
  78. day of the week (1-7 with 1 = Monday)
  79. .nr )P \n(.0u
  80. .in -2m
  81. .LP
  82. Each of these patterns may contain:
  83. .in +2m
  84. .TP 2m
  85. \(bu
  86. a number in the range above
  87. .nr .0 \n()Pu
  88. .nr )P 0
  89. .TP 2m
  90. \(bu
  91. two numbers separated by a minus
  92. meaning a range inclusive
  93. .TP 2m
  94. \(bu
  95. a list of numbers separated by
  96. commas meaning any of the numbers
  97. .TP 2m
  98. \(bu
  99. an asterisk meaning all legal values
  100. .nr )P \n(.0u
  101. .in -2m
  102. .LP
  103. The sixth field is a user name: the
  104. command will be run with that user's uid and permissions.
  105. The seventh field consists of all the text
  106. on a line following the sixth field,
  107. including spaces and tabs;
  108. this text is treated as a command
  109. which is executed by the Shell at the
  110. specified times.
  111. A percent character (``%'')
  112. in this field is translated to a new-line
  113. character.
  114. .PP
  115. Both
  116. crontab files are checked by
  117. .I cron
  118. every minute, on the minute.
  119. .SH FILES
  120. /sprite/lib/crontab
  121. .br
  122. /hosts/<host>/crontab
  123. @
  124.  
  125.  
  126. 1.1
  127. log
  128. @Initial revision
  129. @
  130. text
  131. @d8 1
  132. a8 1
  133. .B /etc/cron
  134. d13 1
  135. a13 1
  136. /usr/lib/crontab and /usr/lib/crontab.local.
  137. d23 1
  138. a23 1
  139. /etc/rc;
  140. d25 1
  141. a25 1
  142. .IR init (8).
  143. d91 1
  144. a91 1
  145. /usr/lib/crontab
  146. d93 1
  147. a93 1
  148. /usr/lib/crontab.local
  149. @
  150.